package ssii.camino.misc;

import ssii.camino.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Login extends Activity{
	private Button bRegistrar;
	private Button bLoguear;

	@Override
	protected void onCreate(final Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.login);
		
		bRegistrar = (Button)findViewById(R.id.bRegister);
		bRegistrar.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent openMap=new Intent("android.intent.action.MENU");
				startActivity(openMap);
			}
		});
		
		bLoguear = (Button)findViewById(R.id.bLogin);
		bLoguear.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				//para rellenar
				//Intent openMap=new Intent("android.intent.action.GPS");
				//startActivity(openMap);
			}
		});
	}
	
}
